package com.amigo.online.common.param.dto.login;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * 校验帐号参数
 * @author amigo
 *
 */
public class ExistDto {
	@NotBlank
	private String account;
	@Min(1)
	@Max(2)
	private Integer type; //type为1的时候表示校验手机号，为2的时候校验帐号
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	
	
}
